﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test10
{
    class Mycompare :IComparer 
    {
        public int Compare(object x, object y)
        {
            string st = x.ToString();
            string st1 = y.ToString();
            return st.CompareTo(st1);
        }

        
    }
}
